package pagos;

import java.io.Serializable;


public class PagoConfirmation implements Serializable {

	
	private static final long serialVersionUID = 977069208121895454L;

	private String confirmationNumber;

	private AccountContribution accountContribution;

	
	public PagoConfirmation(String confirmationNumber, AccountContribution accountContribution) {
		this.confirmationNumber = confirmationNumber;
		this.accountContribution = accountContribution;
	}

	/**
	 * Returns the confirmation number of the reward transaction. Can be used later to lookup the transaction record.
	 */
	public String getConfirmationNumber() {
		return confirmationNumber;
	}


	public AccountContribution getAccountContribution() {
		return accountContribution;
	}

	public String toString() {
		return confirmationNumber;
	}
}